#include<iostream> 
#include<string>
#include<string.h>
#include<vector>
#include<unistd.h>
#include<stdlib.h>
#include<assert.h>
#include<sys/wait.h>
#include<sys/stat.h>

using namespace std;


//#include<functional>
//任务
typedef void(*task_t)();

void task1()
{
    cout<<"刷新日志"<<endl;
}
void task2()
{
    cout<<"更新野区"<<endl;
}
void task3()
{
    cout<<"检测软件是否更新"<<endl;
}
void task4()
{
    cout<<"释放技能，更新用户状态"<<endl;
}

void LoadTask(vector<task_t>* tasks)
{
    tasks->push_back(task1);
    tasks->push_back(task2);
    tasks->push_back(task3);
    tasks->push_back(task4);
}

